Linux webm002.cluster126.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
/
home
/
ariannadhf
/
www
/
wp-content
/
plugins
/
ocean-extra
/
includes
/
widgets
/
js
/
/home/ariannadhf/www/wp-content/plugins/ocean-extra/includes/widgets/js/flickr.min.js
!function(i){function n(e){e=e.find(".oceanwp-flickr-container");e.length&&e.each(function(){var o=i(this),e=o.data("user-id"),r=o.data("max-photos"),n="jsonFlickrFeed_"+(o.attr("id")||Math.random().toString(36).substring(2)).replace(/[^a-zA-Z0-9_-]/g,"");window[n]=function(e){var t=0;e.items.forEach(function(e){var n;t<r&&(n=e.media.m.replace("_m.jpg","_q.jpg"),e=i("<img>").attr("src",n).attr("alt",e.title||"Flickr image"),o.append(e),t++)}),delete window[n]};var t="https://www.flickr.com/services/feeds/photos_public.gne?id="+encodeURIComponent(e)+"&format=json&jsoncallback="+n,e=document.createElement("script");e.src=t,e.onerror=function(){console.error("Error loading Flickr feed.")},document.head.appendChild(e)})}i(document).ready(function(){n(i(document))}),i(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/widget",function(e){n(e)})})}(jQuery);